import login from "./login.vue";
import router from "@/router";
import store from "@/store";
export default {
  install(Vue, options) {
    let constructor = Vue.extend({
      ...login,
      router,
      store,
    });
    let instance = new constructor();
    Vue.prototype.$login = instance.open;
    document.body.appendChild(instance.$mount().$el);
  },
};
